<script language="javascript" >
function save_attribute(){
	var frm =document.getElementById("frmAttribute");
	if (document.getElementById("txtname")=='')
	{
	alert('Khong duoc de trong ten thuoc tinh');
	return false;
	}
	frm.submit();
	}

</script>
 <form name="frmAttribute" action="" method="post" enctype="multipart/form-data">
  <input type="hidden" name="sAction" value="{sAction}" />
  <input type="hidden" name="sActionEdit" value="1" />
  
{FILE {tempSelectBox}}
<table class="adminlist">
  <thead>
    <tr>
      <th scope="col">&nbsp;</th>
      <th scope="col">attribute detail id</th>
      <th scope="col">{ATTRIBUTE.at_id}Parent Name</th>
      <th scope="col">{ATTRIBUTE.atd_name}Name</th>
      <th scope="col">{ATTRIBUTE.atd_status}Status</th>
      <th scope="col" width="50px">{FORM.edit}</th>
      <th scope="col" width="50px">Del</th>
      <!--<th scope="col">updated</th>-->
    </tr>
  </thead>
 
   
    <tbody id="listProduct" >
      <!-- BEGIN:LIST_ATT -->
      <!-- BEGIN:rowAtt -->
      <tr class="{rowAtt.at_name}">
        
       <td>&nbsp;</td>
        <td>{rowAtt.atd_id}</td>
        <td>{rowAtt.at_name}</td>
        <td>{rowAtt.atd_name}</td>
        <td>{rowAtt.atd_status}</td>  
    
        <td><a href="?sMod=attribute_detail.index&sAction=edit_form&id={rowAtt.atd_id}"> <img src="{URL_TEMPLATE_ADMIN}image/icon/edit.gif" title="{FORM.edit}" alt="{FORM.edit}" border="0" /> </a> </td>
        <td><a onclick="return confirmDelete();" href="?sMod=attribute_detail.index&sAction=do_delete&id={rowAtt.atd_id}"><img src="{URL_TEMPLATE_ADMIN}image/icon/del.gif" title="{FORM.delete}" alt="{FORM.delete}" border="0" /></a></td>
       <!-- <td>{rowAtt.product_date_added}</td>-->
      <!-- <td><a href="?sMod=attribute.index&sAction=do_update&id={rowAtt.at_id}">Update</a></td>-->
      </tr>
      <!-- END:rowAtt -->
      <!-- END:LIST_ATT -->
    </tbody>
  </form>
  <tr>
    <td colspan="8">{navigator}</td>
  </tr>
